package com.jml.config;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;

@EnableConfigurationProperties({JmlCloudConfig.class})
@ConfigurationProperties(prefix = "jml.cloud")
@Data
public class JmlCloudConfig {

    /**
     * 服务注册中心地址
     */
    private String serverAddres;
    /**
     * 服务的名称
     */
    private String serviceName;

}
